package sk.hackcraft.util.generator;

public class DiscreteConstantRandom implements DiscreteRandom
{
	private final int constant;

	public DiscreteConstantRandom(int constant)
	{
		this.constant = constant;
	}
	
	@Override
	public int next()
	{
		return constant;
	}
}
